<div class="bjui-pageContent">
    <form action="${rootpath}/Login/login" data-toggle="validate" method="post" onsubmit="return mysubmit();">
        <input type="hidden" id="j_password_new" name="password">
        <div class="form-group">
            <label for="j_username" class="control-label x85">用户名：</label>
            <input readonly="readonly" type="text" data-rule="required" name="username" id="j_username" value="${username!}" placeholder="" size="20">
        </div>
        <div class="form-group">
            <label for="j_password" class="control-label x85">密码：</label>
            <input type="password" data-rule="required" id="j_password" value="" placeholder="" size="20">
        </div>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="submit" class="btn-default">提交</button></li>
    </ul>
</div>


<script type="text/javascript">
function mysubmit(){
	$("#j_password_new").val(md5($("#j_password").val()));
	return true;
}
</script>